package com.hopu.blb_erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hopu.blb_erp.entity.TWarehouse;

import java.util.List;

public interface WarehouseMapper extends BaseMapper<TWarehouse> {

    Integer selectCount(Integer menuId,Integer wareId,String date);
//
    List<TWarehouse> selectPage(Integer current, Integer pageSize,Integer menuId,Integer wareId,String date);

    //通过库区编号查找库区
    TWarehouse selectTWarehouseByGoodsNo(String warehouseId);
    //通过仓库id查找库区
    List<TWarehouse> selectTWarehouseById(String warehouseId);

    //通过wareId查询所有库区
    List<TWarehouse> selectWarehouseByWareId(Integer wareId);

}
